# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=himitsu
pkgver=0.6
pkgrel=1
pkgdesc="A secret storage manager"
url="https://himitsustore.org"
arch="x86_64 aarch64 riscv64" # Hare
license="GPL-3.0-only"
install="$pkgname.post-upgrade"
makedepends="hare scdoc"
subpackages="$pkgname-doc $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/himitsu/archive/$pkgver.tar.gz"

build() {
	make -j1 PREFIX=/usr
}

check() {
	make PREFIX=/usr check
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

dev() {
	amove usr/src
}

sha512sums="
ebc40fc37a565507dcf219698844846d2e73db300d5432119c71ce6013cf623bc5ba96e36a5e38e3927235bda8d482a548fa7a7dbac89acb0a6673c18239cfbb  himitsu-0.6.tar.gz
"
